package bitoperations;
//不用减号的减法
public class Minus {
    public static void main(String[] args) {
        int minus = minus(4, 1);
        System.out.println(minus);
    }

    public static int minus(int a, int b) {
        b = Sum.sum(~b,1);
        return Sum.sum(a,b);

    }
}
